package com.rmc.http.accesser;

import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;

public class JavaScriptEngine {
	public static final ScriptEngine engine;

	static {
		ScriptEngineManager engineMgr = new ScriptEngineManager();
		engine = engineMgr.getEngineByName("javascript");
	}

	public static ScriptEngine getInstance() {
		return engine;
	}
}
